/**
 * 右键菜单样式
 */

.context-menu {
  animation: menuFadeIn var(--schedule-transition-fast);
  background: var(--schedule-bg-primary);
  border-radius: var(--schedule-border-radius);
  box-shadow: var(--schedule-shadow-lg);
  min-width: 160px;
  padding: var(--schedule-spacing-xs) 0;
  position: fixed;
  z-index: var(--schedule-z-index-dropdown);
}

@keyframes menuFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.context-menu-item {
  align-items: center;
  color: var(--schedule-text-primary);
  cursor: pointer;
  display: flex;
  font-size: var(--schedule-font-size-sm);
  gap: var(--schedule-spacing-sm);
  padding: var(--schedule-spacing-sm) var(--schedule-spacing-md);
  transition: background var(--schedule-transition-fast);
}

.context-menu-item:hover {
  background: var(--schedule-bg-secondary);
}

.context-menu-item-danger {
  color: var(--schedule-danger-color);
}

.context-menu-item-danger:hover {
  background: rgb(231, 76, 60, 0.1);
}

.context-menu-icon {
  align-items: center;
  display: flex;
  font-size: var(--schedule-font-size-md);
  justify-content: center;
  width: 20px;
}

.context-menu-divider {
  background: var(--schedule-border-color);
  height: 1px;
  margin: var(--schedule-spacing-xs) 0;
}
